package cn.jsj.cxsys.controller.packageClass;

import java.util.*;

public class EasyUIPages<T>
{
    int total;
    List<T> rows;

    public EasyUIPages() {
        this.total = 0;
        this.rows = null;
    }

    public EasyUIPages(final int total, final List<T> rows) {
        this.total = 0;
        this.rows = null;
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return this.total;
    }

    public void setTotal(final int total) {
        this.total = total;
    }

    public List<T> getRows() {
        return this.rows;
    }

    public void setRows(final List<T> rows) {
        this.rows = rows;
    }
}